CC=gcc
LINK=$(CC) -o
PKG=stacktest
CFLAGS=-O0 -g3 -Wall
LDLIBS=
RM=rm

OBJS= ./stack.o
.PHONY: all
all: $(PKG)

./stack.o: ./stack.c
	$(CC) $(CFLAGS) -o $@ -c ./stack.c

./stacktest: ./stack.c ./stack.h ./test/stack.c
	$(CC) $(CFLAGS) -o $@ $^

.PHONY: clean
clean:
	$(RM) -rf $(OBJS) $(LIB)
.PHONY: test
test:
